﻿<%@ Control Language="C#"  %>
<%@ Register Assembly="Swaf.Gui.AspNet2" Namespace="Swaf.Gui.AspNet2" TagPrefix="swf" %>
	<div>
	<%HtmlBlock method = "processList"; %>
		<%Conditional on="Depth==0"; %>
		<div class="articlebox0">
		    <div class="title">
			    <asp:HyperLink id="title" runat="server"  NavigateUrl="$navLink$"/><br />
		    </div>
		</div>
		<%EndConditional; %>
		<%Conditional on="Depth==1"; %>
		<div class="articlebox1">
		    <div class="title">
			    <asp:HyperLink id="title" runat="server"  NavigateUrl="$navLink$"/>
			</div>
			<div class="summary">
			    <swf:ReadOnlyText ID="summary" runat="server"  Width="90%"/>
			</div>
		</div>
		<%EndConditional; %>
		<%Conditional on="Depth==2"; %>
		<div class="articlebox2">
		    <div class="title">
		    	<asp:HyperLink id="title" runat="server"  NavigateUrl="$navLink$"/>
			</div>
			<div class="summary">
	    		<swf:ReadOnlyText ID="summary" runat="server"  Width="90%"/>
    		</div>
		</div>		
		<%EndConditional; %>
    <%EndHtmlBlock; %>
    </div>
